package com.dianping.cat.home.alert.summary.transform;

import com.dianping.cat.home.alert.summary.IVisitor;
import com.dianping.cat.home.alert.summary.entity.Alert;
import com.dianping.cat.home.alert.summary.entity.AlertSummary;
import com.dianping.cat.home.alert.summary.entity.Category;


public abstract class BaseVisitor
  implements IVisitor
{
  public void visitAlert(Alert alert) {}

  public void visitAlertSummary(AlertSummary alertSummary) {
/* 15 */     for (Category category : alertSummary.getCategories().values()) {
/* 16 */       visitCategory(category);
    }
  }


  public void visitCategory(Category category) {
/* 22 */     for (Alert alert : category.getAlerts())
/* 23 */       visitAlert(alert); 
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/alert/summary/transform/BaseVisitor.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */